package com.whut.util.concurrent.threadpool;

/**
 * @author wangzonghe
 * @date 2025/8/18 16:21
 */
public interface RejectHandle {

    /**
     * 拒绝策略
     *
     * @param runnable   当阻塞队列仍然满时需要执行的任务
     * @param threadPool 线程池
     */
    void reject(Runnable runnable, MyThreadPool threadPool);

}
